Added functionality to extend an already defined model