Add recipe for finalize.
Merge pull request #1421 from skeeto/finalize

Add recipe for finalize.