Rename GetTypeAndName method to ToString