Fix issues with pycharm.