Setup for adding functions