Implemented more factory methods.