Added a builtin interface for protection. It isn't very flexible yet,
but it has solid protection.