A utility to hook methods/properties and return anything you want.