Correcting issue in theme dependencies class.