web_reference and search_result -> webpage, add a task to import entities, add some much-needed sanity checking on entity creation.