Extract utilities for work with content into separate class.