In reply to Mark.

You can just copy them directly from the plugin's functions file to your own custom plugin. The code isn't going to be much different. The No Nonsense plugin just adds a UI.