Added ability for extensions to be recursive
Added ability to disable the recursion check
Added extension parsing within prefix and prefix_for extensions