Removes overly strict typehinting in main class.