Fixed so property repeater should works as it thought. Updated comments and added more assert tests. Fixed several bugs and added more type checks