Initial implementation of text fields.