Add $cmdpath to init's class parameters