fix missing type declarations (Joachim Henke)