Changed parameter types to interface in the new time functions
Updated expr function to handle objects properly