i added a _getProto method, which felt cleaner to me.