Got basic lifecycle working.