Add methods before, after, beforeAll, afterAll. Redesign hooks.