This should be in getExcludedBlocks and getAcceptedBlocks method.

As this methods can be used in future methods.....