I would put `callable` instead of `function`.