You don't appear to be calling these functions? Just referencing them as attributes.