Added some backend functions. Minor changes to the classes generated.