Added fuzzing hooks in. Added randomness.