Core: Removed 'unit_at_opt' func