And small note: please, don't use array dereferencing (we want support PHP 5.3, are we?).