Add some basic layer checks