advanced keypather replacement support with res methods