Add javadoc to state intent