added deprecation decorator and deprecated methods which can be replaced by [get_or_]create_path or match[_one]