Fix for GPIOPin registration.