Refactoring sprites.