Make allEmpty methods non-static