optimized performance by caching certain contructor methods for creating model objects