Remove PIN from device and make partial class.
Merge branch 'devicePrivate' into develop