Add the ability to pass wrapped objects to functions