Fixed notices in main module.