As the interface as been removed, you can typehint `User` instead of entity interface here