Set default pymode parameters.