Fix PyCharm introspection