refactor: Clean up superfluous function

Closes #11