Fix pep-8 and take ipc into account.