Avoiding a cyclic require()