add compiler pass to auto register commands
Merge branch 'develop'