Added a few useful functions, respondversion needs fixing.