Register fun declaration