Fixed doctype boilerplate and communication permissions