Allow wrapping object methods.