Finishing up and giving the ability to add new middleware