Improved and documented protocol.