Document start function.