* Castle library is downgraded for backward compatibility