Fix issues with not imported functions