Migrating generic functionality from Nextweb into project nextweb-fn.