Adding optional callback to View.render, fixes #215