Remove warnings (as reported by PyCharm)