added function wrapper for dt filter.
Small header fixes.