Fix bug: peekTypeAndVal should be a prototype member, not static.