Removing unnecessary variables from MovingEntity.