Corrections of errors when structure procedures were called on structures and not their instances