Fix some missing declarations.