Refs #4 - Use function as variable for constructor rather than named function.