Complete functional prototype.