Added commands functionality.