removed unused method and removed unnecessary virtual keywords
added the override keyword to virtual methods
updated configuration fragments and added comments