finish entity classes