Made functions new-able. Fields and Collections are deprecated.