Made EmptyPath and NonEmptyPath case classes