API convenience methods.