Added to library Dump helper functions by Van Veen.
Added base model extension to main model class.