Prototype check code.