Some JSDoc annotation on the non-GUI parts.