- slogging though scala type safety.