Modes of inhibiting polymer flammability