Adds README documentation for the onactivate method.