Added some typehinting as the setup confuses IDEs