Added backwards compatibility for previous export API
Moved isLitmus out of module check function