python. Removed rest listeners, fixed #188.