Added messages for missing dimensions when in debug mode.