return map method with a map method for compatibility issues.