Support for script directives on `length` property.
Add `async_final` helper.

This function lets us be a little bit more concise in the completion handler of
`async.waterfall` invocations.