javadoc
Find all keys in relation
Fix redundant attributes removal