Fixed field attributes & autoload

Signed-off-by: dradancer <kuba.zarybnicky@post.cz>