A val that overrides a def is considered the same enitty