minor refactoring
extract parseControlElement() as plugin method