clean up field defintion classes