Typehinting issues with Data class.