Added many useful methods.