Changes to attributes and methods

The editing of methods and attributes should be a lot more stable, still
need some fixes but no crashes