Added access methods to global variables in Function and Block