Annotate more functions as pure.