Simple less middleware implementation