Add documentation
change method from safe_mode to safe_mode?