Is there no way to do this through the API? This is an implementation detail.