Added shorthand for function layers.