Working on API methods.