Added properties and functions to Function class