Added a getContext() method to all adapters