Fixed unspecified error on empty module without any declarations