Added Multisite compatibility.