Recoded compiletime stuff