Add xref target.
Remove deprecated call.
Fix incompatible syntax.
Remove unnecessary module.