Security enhancements