Refactored the izpaths spec and resource path parsing for consistency.