Added 'Begin', 'End' and 'CleanUp'.