Add try method on Object