simplify / reduce dependencies in composeMessage directive