Allow smart pointers to have their actual type names.