Added secure() method