Added more comments and small API cleanups