Set actions of readonly/const fields throw when invoked.