Code reduction for filters of obcore.