Localize some functions.