Added javadoc
Added "mode" to ADD notification command.