Using Closure to optimize method object