Removed 'import ... require' statements and little changes in classes.
Added IEnumerable<T> support for Array.