add more documentation for the Layer base classes