Removed onbeforecommit