add option to mark all attributes dirty when loaded