Don't use a weakref for compact_legislation cache, because it doesn't work at least for Paste web server.