Implements extension field functions

- Extension field functions for boolean, integer, float, double, string
and XML have been implemented.