Style cleanup, default document work;
Added some role support;