Renamed map function to on
Added setLayoutFile setter. render function parameter is optional now.