Cleaned up constructors of Pin<>, InputPin<>, and OutputPin<>.