Delete accidentally committed swap file.
Update tests to mirror API.
Update tests to reflect this change.
Include options in publish definition in README.
Implement functionality required.