Python plugin: Cleaned up compiler warnings