Cleaned up some useless funcs, finished plugin docs #4502