Fixed some function stabilities, added some schema qualifiers for generated code.