Adding definitions for java collections