Now with functions and core procedures.