Allow overriding of toString and valueOf properties