Changed registerFields2() to registerFields(). Removed old code. Updated comments.