FIX: error when module has no declaration.