Added optional position field to an entity