Add theme functions and hooks for field output.