Added margin and padding filter.