Restore deleted endpoints and add function to alias endpoints.