Minor api modification for consistency