I believe coding standards require:

        return (Firework) entity;