Making porthole.js more flexibile.