Remove empty spec folder
Fix deprecation notices