Creating the field and add some API functions.