FIX: use msg attribute instead of inner to allow variables to expand.