Fix pins being wrong type