Updated interface for the response serializer and renamed it with AF prefix.