Pin_properties class is now more or less okay