Fix style issues.
Add MessageSet#sent_by.
Add MessageSet#by_count.
Add TomDoc to core.rb.