Updated documentation and reorder the order of types and functions in params.go