Historical position API, restructuring.