Use Begin/End pattern to not break .Net 4 compatibility.

They are needed yes. Omitting them gives a runtime exception.