Added documentation & incorporated context-related changes for command