Remove diagram methods type hints