Make docs nicer
Add the toList and fromList functions