Simplified Layout. (Moved redundant instructions into methods.)