Helper constructors.