We should research which enforcements can be enabled to improve compile time checks. Very likely it'll require updating significant amount of code.