Removed Layer type in Layer.hs