Remove duplicate object definition