Fixed models inheritance