Get rid of a few warnings
Move the remaining FromEventPattern to an extension method