Remove useless PHP closure
Move to a more scalable setting