Moved functions from autoload to plugin. Honestly, it's not worth the pain to split them up :(