Add method getMethod, which allow us to get the method as variable and speed the grid when calling this method in loops. Inspiered from Oleg's idea.