Added methods to security