Move default values for parameters into params class
Add missing documentation