Add type declaration to implementations