Add bone type detection