Prototype code.