Makes the perform method take a context again.