Allow overriding entity classes.