Imported spigot header stuff. Painful >.<