Added support for retrieving model methods in the array helper.