Revert "Add array type hints."

This reverts commit 2f75167346f3bf66e307206e39b25c253e297be2.
Added type hints.