Excluding objects and staticOnly now play nicely together