Added some convenience constructors.