(Layer.__getattr__): Removed. It was only there for backwards compatibility and all code relying on that should have been updated by now.