Implement new sprite class format