move append_to_execution_history to Message class
Fix constant and method access