Remove unused detail class