Session resources refactored.