Add CORE endpoint, fix unused variables, and change comment style.