Added overload function for get function component,selector,handler & middleware array