The wrap function returns now the complete context object