Avoid duplicate constructors
Use 'Function' type instead of 'function'