chore(spin): code cleanup