In 3.5 I will fix this right by adding a message_factory attribute to the policy.
Attach a file by drag & drop or click to upload