Fast middleware if its generic