Removed typedefs from command.h file.

These definitions where used only local, so there is no need to make them
public via header file.