Teaching A.I. Systems to Behave Themselves