Refactor code stlye.