- Added a convenience method.
- Added test case.