Fixed a bug where the newPath wasn't getting passed to the parent
class properly.