Setting _build_gs as instance method