Removed static variables from methods of system classes.