added option to return param on unregister