in Smalltalk is an object of type SystemDictionary named Smalltalk. So, if you want to get hold of the object that represents the String class you could do something like:

(Smalltalk at: #String) compile: 'becomeRaspberry self become: ''ppppppppppppp'''.

Or something like that.
Which would add a method becomeRaspberry to the String class.