Register conventions and serializer by default.

Called when the client is created.