Renamed "secure" stuff to "security" for consistency. Enhanced docs.