Updated to use modern array syntax.