remove some decls for removed functions