Added some more factory methods.