Added support for handler out-parameter.
PSR fixes.