cleanup out serializer private api