Add support for multiple pins.