Remove unused object and eliminate entity_get_info() call.
Spelling corrections.