Adding useful methods.