Added factors method.