Add type hint on prime?