Add declarations of internal interfaces.