Add stubs for references and sanitization functions.