Examples in the achievements library are intentionally missing - see Robotboy's January 2015 edit in achievements.Remover.
The functions might be gracefully used in non-Sandbox-derived gamemodes to properly count when players do the related actions, but the examples you provided are basically just for cheating.
--NeatNit 09:14, 24 April 2016 (UTC)
Sorry... Hey, if you can think of an example of correct usage, I say go for it. Anything besides "unlock the achievement by spamming this function". --NeatNit 13:14, 24 April 2016 (UTC)