Add basic protection support to builtin