Fixed error when using table aliases
Can once again create your own model classes