Add some nice functions