Change to accept array.