Added implementation of Date.valueOf()
Renamed toString to ToString for method lookups