 	/// TODO: Fix this once `documentContextBeforeInput` stops always returning nil.
 	/// Did a left swipe gesture. Delete until previous chunk of whitespace.
 	func didSwipeLeft(sender: UIGestureRecognizer) {
-		self.deleteWord()
+		if sender.state == .Ended {
+			self.deleteWord()
+		}
+	}
+	
+	/// Did a right swipe gesture. Add period and a space character.
+	func didSwipeRight(sender: UIGestureRecognizer) {
+		if sender.state == .Ended {
+			self.typeString(". ")
+			self.shiftState.enableIfDisabled()
+		}
 	}
 	
 	func deleteKeyPressed(sender: UIButton) {

	case Enabled
	/// Shift is locked-- continue to type capitals.
	case Locked
}

class KeyboardViewController: UIInputViewController {

	func deleteCharacter() {
		let proxy = self.textDocumentProxy as UITextDocumentProxy
		proxy.deleteBackward()
		
		// TODO: Check if the character was capitalized, then set the shift state accordingly.
	}
	
	func deleteWord() {
