Basic functionality done for spawn preventor.