Turn message section into a directive