Implemented preset support for custom commands.