Added a commands structure using method refs. Should allow for semiextensible commands.