API for type printing changed