Adding util methods.