Add some miscellaneous utility methods