Extracted implementation of abstract methods, which work with persistent data, into Trait.
This drops PHP 5.3 support.