object: rename function 'typename' to 'type_name'