Make require conditional