Update errors
Fix various compile errors by include module.h