Increase method visibility and add PHP docs