Fix more missing methods and constants.