Adds middleware for stick