Just as magical as relying on syntax like:
<code>$component->{on eventName};
$component->{as behaviorName};
</code>