Serializer API restrictions.
Merge pull request #2291 from tomchristie/serializer-api-restrictions

Serializer API restrictions.