Reduce the usage of J\Factory