Make get_array() and get_profile() directly accessible from pyramid objects.