Commit a sample class