Make some functionality scriptable.