Added safety methods.