Fixed an api inconsistency.