Allow treating some fields as readonly