Checking access of module main.