PSR-1 compliance and Session class