Ap203e2 fixes

After applying these I get valid / syntactically correct Python code for AP203e2.