Prototype security module interface for MAC.

- Playing around with interfaces here, not for merge.