Next step is to finish implementing onAttach so getActivity() can be used to obtain contexts.