Add missing pure functions.