Use ZendParamMode instead of manual checks