Fix sub commands not being registered