Adds namespace::autoclean to the Event object