Miscellaneous fixes for marking and enforcing required fields and the like