Added missing referencing_fields var to DAOs (not sure how that slipped by).
Namespace entity was causing issues (naming).
Fixed bug with locale api.