Add some sprite logic.