Typos fixed.
Magic python lines inserted.