Removing redundant spec entries