Fixing some minor issues on createlink, createrole and emptynode actions.