Add assertion for MainView and MainViewController.
Close #65