Document propmpt function.