Cleanup

I converted `Array<T>` to `T[]`, as it's recommended by Apple.
I also fixed the 2 warnings that were caused because of an unsafe cast.

Thanks for this great library!