Fixed multiple definition issues.