Forward declare apply for continuation implementation