Enabled createPanel functionality.