Clean up unused nlmeans code.