Added some utility methods