Fix missing return values in several methods.