It seems that both PowerLayer and  EltwiseProductLayer are suitable to be refactored in #244.