Fix implicit declarations