Finding attributes dynamically (backward compatibility).