Removed unused imports.
Replaced old array declarations (array()) with bracket array declaration.