Adding some convenience methods.