Return and assign now use filters
Added docs for capture and return
Added tests for using filters in assign and return