Fixed issues that prevented writing fields through setters.
Removed execution permission from some sources.