removed unused method from layer interface