Make initialize method private in Resource