Linkwords plugin - minor code clean-up