Check for source == null explicitly instead of relying on Object(source) to handle it.