Created API function wrappers.