Move toString to prototype