Made the build method private