Cleaned out commented code in API example