Contain helper functions in ds object to avoid method name conflicts in the future.