Should probably document the meaning of null vs undefined as return values.