Add get field names method