Resolving warnings in the layer library.