Added updatePage and fixed removePage
added groups
Use decl-api types as attribute and parameter types