Bug fixes and addition of path reader typedefs