Refactor Bullet class.