Fixed issue with overriding val.