Merge "Set expected pin length in constructor." into udc-dev