Command implementation.