1. A method comprising: specifying a model, the model including data having internal pre-defined data storage classes and external custom data storage classes; and generating software source code for the block model with a code generator using the internal predefined data storage classes and the external custom data storage classes.