Base class for visual layers