For existing buildings, fire codes focus on maintaining the occupancies as originally intended. In other words, if a portion of a building were designed as an apartment, one could not suddenly load it with flammable liquids and turn it into a gas storage facility, because the fire load and smoke development in that one apartment would be so immense as to overtax the active fire protection as well as the passive fire protection means for the building. The handling and use of flammable substances inside a building is subject to the local fire code, which is ordinarily enforced by the local fire prevention officer.