Added require function.