Added @doc false to terminate and code_change
Merge pull request #2592 from tomkadwill/doc-false

Added @doc false to terminate and code_change