Changed scope to prototype.