added method accessor.