Make object mapper private.