Added some convenient methods.