Moved theme code.