Rename type field to method. Apparently that was dumb..