Added frame_ids attribute to templates controller