Move EWS extensions into their own file