Added errorMessages accessor
Fixed Params does unnecessary exatraction and may return Some(null)