Can't call method "configure" without a package or object reference