Enable reflection warnings.
Add more type hints.