Extern for functions to prevent errors.