Since you're using `input_formats`, you probably want to be removing the `attrs` bit here, unless it's there for some reason I'm missing.