Method to kwargs