Set some lengths as read only