Issue #1962358 by penyaskito: One method per entity.
Issue #1962358 by penyaskito: Removed cache() usage. See https://drupal.org/node/2198339.
Issue #1962358 by penyaskito: Removed drupal_map_assoc() usage. See https://drupal.org/node/2207453