Trying to resolve multiple definition errors