Added compatibility with the PyCharms IDE