Changed bytes to use std::string.
Added message field category.