Fix block declaration in themes