add missing types.hpp file