Reducing the list of hard-coded modules (needed for rewrite)