Readded accidentally removed methods.