Improve macro getters, add macro setters, implement attributes for <form>