#311 Added domains element definition in memo.xsd
#311 Code review comments
#311 Fixed Checkstyle error
#311 Code review - round 2