Fix extend method, check for nulls et alls.
Merge pull request #14 from goliatone/fix_extend_method

Fix extend method, check for nulls et alls.