Added support for PinCommands