replace dependency declaration in entity classes to something more compact