Added methods for integration with servlet objects