Add ability to ignore undefined values