public extension and constructor (for newer versions of Weld)