Extending the core classes in AS3

Is it possible? If so, what’s the preferred way?

I’m seeing lots of ArrayUtil and StringUtil AS3 classes, but I don’t like using them as it defeats the purpose of an object (StringUtil.trim(str) instead of str.trim()).