add wrapping for applyX methods
(#297)