Refactor Curly::Compiler