Move rendering code to marker classes.
Move rendering code to marker classes.