Add extensive commenting to Core