+Add createModel method to object prototype