Add flag to indicate security is being attempted (currently unused)
Documentation about object encoding, and further utilities for doing so