make build prefix message method private