Move rendering code to marker classes.