Moved API from codeplex