Remove code which was causing the aforementioned error.