Adds attribute validation before post requests
Adds 'visibility' attribute, fixes warning counts