Moved boiler plate code into BSViewController.