Added Pins functionality.