Refactored panels in assembler.