Prototype implementation.