Comented deprecated module lua function and adaptations.