Some helper classes for AS3.