Added a few utility methods