Added Button and View fields to Fragment classes.