Add mock and add_mock_object methods