Add method_missing tricks, remove useless debug lines.