Refactor: remove unused code.