Add explicit return type to FicusConfig#getAs