Template method commit