Strip out common attributes into a super class