     var annotationTitle = String()
     var annotationSubtitle = String()
     
-    // MARK: Outlets.
-    @IBOutlet weak var mapView: MKMapView!
-    @IBOutlet weak var addDealButton: UIButton!
-    @IBOutlet weak var myDealsButton: UIButton!
-    
-    // MARK: Actions.
+    // MARK: Action.
     @IBAction func signOutDidTouch(_ sender: Any) {
         let firebaseAuth = FIRAuth.auth()
         do {

        })
    }
    
    func readDatabaseAgain(notification: NSNotification) {
        mapView.removeAnnotations(mapView.annotations)
        readDatabase()
    }
    
    func reloadAnnotations(notification: NSNotification) {
        mapView.removeAnnotations(mapView.annotations)
        
        displayedDeals = notification.object as! [Deal]
        addAllAnnotations()
    }
    
    private func addAllAnnotations() {
        for deal in displayedDeals {
            addAnnotation(deal: deal)

import FirebaseDatabase

class MapViewController: UIViewController, MKMapViewDelegate, CLLocationManagerDelegate {
    
    // MARK: Outlets.
    @IBOutlet weak var mapView: MKMapView!
    @IBOutlet weak var addDealButton: UIButton!
    @IBOutlet weak var myDealsButton: UIButton!
    
    // MARK: Variables.
    var locationManager = CLLocationManager()
    var ref = FIRDatabase.database().reference()
