ENH : add function attribute for autowrapping
TST : added tests for refine functions