Use static polymorphism for Randomness delegate.

Closes #2