Fixed a problem in the Model API where methods and classmethods were not attached to Model compound classes properly.