Add some more method stubs, and implement a regex pseudo.