Expose commands as array, instead of function

For appropriate classes, #commands is now an array, instead of a function that
returns the same array.
Merge pull request #200 from hybridgroup/refactor/commands

Expose commands as array, instead of function