Added compatibility as a CommonJS Module.