Fixed an API inconsistency