Remove duplicate behavior.

Just a small optimziation as well.