Removing inheritence from models