Function type needs to match prototype.