Adding support to custom keypaths