Determining elements.
Refactoring.