Added 'is' functions to prototype.ks