Just a bunch of useful groovy stuff