Create initialize method.