Plain implementation of OOP patterns in Actionscript