Add lots of allow attributes
Refactor list_attribute
Clean up things