Commit after class