Added python wrappers for textfield