1. At a computer system, a computer implemented method for configuring platform code to simplify checks for security problems, the computer implemented method comprising: a programming language class providing a container for security critical data, the programming language class also including a plurality of methods for interacting with security critical data in the container, a processor selectively controlling whether the security critical data is treated as security critical depending on what interaction with the security critical data is being requested by distinguishing some methods of the set container as being security critical, such that the security critical data can only be accessed via the methods with elevated permissions, including: marking methods that access the security critical data through a property on the class as security critical methods, and indicating that methods that access an actual field pointing to the programming language class are not security critical methods such that the existence or initialization of the security critical data can be checked in a non-critical manner without actually accessing the security critical data.