added serializer.interface checks.