middlewareSig is actually a type that is a fn. So it isn't really a sig, more a fn type. Also making them public so they show up in godoc.