Why do you need this array, if you're already checking the prototype?