Make object mapper private.

Why is this necessary?