Moved common code to the parent class
Use parent namespace in subclasses
Remove stable5 compatibility code. Compatible with 5.0.11+ only anyway
Fix typo
Cleanup session data if original file is removed