Got inheritance on DB objects working with regular objects.