Bug 3

Added check for the validity of register description elements.