Add messages to theme layouts