Improves use of strfuncs as python functions