Added error function calls to the modules