Added context option to {before: function()}