Added some convenience methods.