Move parameter.hpp to detail/.
Refactor the generate_random facilities.