Implement define and begin.