Refactor entryParser parsing for ctor. Ensure entryParser is removed from opts object.