default return value of containsClass() should be null

-> also updated documentation