Allow the subject to be set in the configuration, possibly with an anonymous function