Add two API methods