Compiling method calls in first level of block statements