Add type hints and enable warn-on-reflection.