Code blocks for commands