Change pins args into a single aray.