Re-factor rendering code.