Functions are now collected