Pass in FunctionDeclInfo instead of two args.