Removed error from Security.php, Cosmetic code enhancements