Add a position field to BaseResource (fix)