Removed some unnecessary prototype manipulation.