Add backward compatible API wrapper.