Added boolean check if module exists.