The method getPosition() in Entity is now public.