Refector code.