Initial work on functions registration.