Deprecated. Closes #9 and #10.