Remove some unused imports
Don't need trailing newline on metric per packet
Expose typeName