Added compatibility with require