Fixing duplicate reference error.