Extract messages from header file as well

Authored by yurchor on Feb 16 2020, 9:46 AM.