Changed PropertyMappings property to a method.