Removes factory function.

Resolves #7